Use Result type for PencilResult