creating uf table which helps in search