updated solve functions