working on engine and sharing memory between processes