parsing instance types