added simple console.log version