change the line to refer the settings as settings from the type setting