adding a slew of debugging crap