add preferences

v1.2