Function appears unused ?