Added process time and changed the order of the processes in the stack so that they are now in the correct order.