added get_prefrence