4th commit

now i have the console.log code in the function