More efficient get_problems