Adding time check