adding some buttons and setting up start, stop, and reset functionality