added additional logging