average function name change for min