time check was added.