Creating a 7 digit number based on data and use