removed superfluous base case checking in parberry's solve method