copy unexported function we need from car 2