implement resume