refactored ask_pending_solutions