added pause example