arrange different cases