making a pm bar