moved all code into mybmi.py