coding on _schedule.php