crude debugging