add+remove for array