interface for two type of map elementer cell