comments added to the code