Comments were fixed. Performance improvement & simplification were done.