added preferences tab