solve a problem