using pause, resume and destroy modules