add load method to solver