got buttons working