two new functions, sym and endoreff