Added template for interp