adding class transformer