addElements option (fixes #142)