Simpler version of resume function