Adding Resume Funciton