added comments; cleared code
added comments; cleared code
surrounded immediate function in parens