setting up processes