updates to plotSlice