hack to add option to output number of bases in preserved elements