implement simple button funcitonality