committed no changes
added setButtons function