added a to string method for function based expression; other cases not yet done