added a method that solves system of equations, maybe works