link settings to method instead of program