Best Practice Guide - The "process resident" function