improved function for creation parcel number