data read and process for an online system of BMI