grid logic refactored, added new logic on car brands