added a couple of lines to the pause method, just testing different things out