tweaking mobile code