refactory ata