example 8-1: simple process