added comments for console