Draft of ERT codes