adding pause button