how to do scheduling