removed debugResult calls