mai , adapted for tile lif.