testing time taken