Let's use dye's loop instead of old ldkit code