Solved it the wrong way.