This in my opinion could be a lot shorter - like an hour or two. The real interval is limited to 24 hours for both branches of the code.