Changed variable names. Implemented a pause function, but it's wonky.