Use get instead of as_slice