added code for bmi calcualtions