mutating a list