added some comments in for planning