Add pause and resume functionality
Add reset functionality