resume and suspend methods added