fixed logic error with max/min cars. doing tests so loop end values broke rn