revised time test from Abi