taking of console.log functions