added pause block