method to return all solutions