implement unschedule method