Added arguments for doit. Need better line drawing.