added interpolation helper to minimize code