updated deleteothers()