expt, log, sqrt, error checking
setnth -> sref