Changed p1, still trying to fix solveline