Changed the order of arrangement of lookup tables.