changed to read data directly from mysql on expression.ml