more comments added to code