Implement pause feature