more testing as to why the time condition is not working properly