Added some stuff in process.c