changed console.log location