added comments and newlines