Fixed abort problem- passes all tests