dup is marked as warn-unused-result