proper conversion to immutable vectors