inproc example cleaned