global replacement, has default value too