writer result struct