added show_expired to get_orders. and removed debugging print statements (oops)