added PrefFrom support