delete and copy working