added dbug log messages