Use slice literals instead of setting values one index at a time