refactor interpolate into single item handler with additional each wrapper