got reading buttons working