Use algorithms instead of hand-written loops | Zoonk