NameFind almost ported