configurable result container render function