skeleton code for stale process