added dbug output