Added random preferences for test purposes