Added code to check if a style is dress or pants