[code] stop/resume support