refactor method name, adding utility class DataSourceTemplate