addd functions on btns