prints out the duration
parellilised the app