added subtype example