rearranging pieces for kat