changed back to debugging listener