added comments for  quick navigation of script