added pause, unpause, and stats