using method refence in ConfigFunctions
removes semicolon