SDDB: Added two methods to simplify and improve evenLoop