basic functionality of the process class
don't run stuff twice