Added accept and decline codes to print_items