added time io

to track the calculation time