added pause insteade of counting numbers