copy unexported function we need from car