added in a pause button