Use this rather than self in root function