Further comments added to code