new function find a record base any number