updated console example, added process example