some stuff about how to convert between slices and arrays nicer
some comments