removing a console.log & adding some descriptive comments