lesson 8 with button presses