create a preference service