adding options. measuring time in microseconds
Correcting time calculation