add pause resume