name finding code