Added pendingArray and courseListing