adding changes to fitbit.py