added in consolelog to compare
changed console.log