don't write characters twice