i renamed the function to get_items_check_required, since that's what it's supposed to do