added other stuff
problem with process_wait fixed. no tests yet