working on subqueries for cloth types

working on subqueries for types