litter order in  main code