Debug code for mobile pt 4