Add the pause feature