how to use stop period in the Schedule