just realized i've been debugging the same code for 3 hours when the solution was literally changing one variable name... why am i like this ЁЯСитАНЁЯТ╗