added utils and made changes to mobile.py