adding types submap