adding debug to see where things splody