add expression function