Could this just be slice()?