Added a way to find when a process starts and ends