added and documented pause button