today allot algorithm