change do end to {} in car model