added more comments for planning