inb4 function does something different from my guess