add pause & resume methods.