Added get_pending()