initial version of buttons working