added some scheduleing stuff
added some scheduleing stuff