Added pause function (press p!)