Added process time variables and wait2 system call