default to slice implementation and just for strings