buildAPEX