realize two buttons