switch from exception handling to ternary enum, currently editing Solver comment