adds code for BMI calculation