timer- pause,resume implemented