variable mobile is no longer left undefined.