@flawedmatrix is this used more than once? is there a reason to make it its own method?