changes in design and resume function