switched to slice notation