add method and mapping table