added gazebutton functionality