add transformer types method