refactor type to productType