master base for replace with keep