base mode type on shell