preferences
some modifications