added support for task results