moved time estimation to example