first version of process replacement demo