First Version of TaskScheduling