interpolate can be called from inside class definition