Solved it, finally