Update random to be more mobile-friendly