fix typo and console.log
fix signature it works :)