added a pause State with resume button