started predict time function