change var holding term to a pointer