changing schedule to when