variables defined and cnt based scheduler created
finished manual scheduler
merged p3 into the file