added basic support for slice assignment