adds schedule validation