added additional console.log