Ah ... a double 'had' ... missed that