i'm so confused what the algorithm for this bot even is or how it works