Scratch algorithm
    c.ai