applying car logic