Add 2nd implementation of expressions function