integer comparison for schedule + debug