This is a way to use console.log better
removed a useless function
much more documentation