added preferences