remove copied code from ETL