adding support for truncated results