trying to make the schedule persistent
reverted back to older version