Debug code for mobile pt 5