resume option
Implemented resolve #1