oh dear God, thread save indeed