use index attribute instead of render to make customization easier