use common get_system_type function