add debugging for mibile