put looping back in with a key press required to prevent overtaxing the raspberry pi