shiftLeft() implimented. crashing on exit