added ability to interpolate attributes