added preferences, license