Code from my process class