move node interpolation into separate method