updated custom interpolation api (hasInterpolation not safe!)