Debugging to get it work on Phone