Updated documentation
Removed extra console.log