added functionality for forking the process and timing it
merged