added deleting and mirroring