added time measure
added time measure