add method to get an expression instead of a compiled lambda