access instance variable instead of local variable for settings