added a pause button