delete and print