course reset added to reset function