Implemented resuming