change from templates to Data Hook