defined 4 buttons action