added upbutton implementation