added pause and other minor changes