support map<typeX,typeY>