example 4-2: registered process