Adding pause capability