added pending orders table