added quadrant rules and quadrant steps