added measure processing time