worked on equation solver