return new_class in workflow example