removed depreciated console.log call