using pref. as backing store of the queries.