Safer to replace if only at end