Broken WIP: added handling for slices