added code to process page times