algo transformed to cex