added conditional logic for dresses and tops