gave button default commands
removed unnecessary instance variables