did minor changes to make it work -  wont compile because it doesnt know what porcess object are