updated preferences
fixed indentation