added debugDraw