ETL code for WOPR