replace graphics.paper.napusretention() with deletion()