pass settings from controller