added step for refactoring category from String to type