adding additional logging