method to add buttons continued