Modified Output and added correct time Measurement