Added few comments in scheduler