Remove console.log call
Add some documentation