created a getMobileURL function