Feels pretty close now; random runtime error no longer an issue, and it looks like all the values except for 4 are being inserted for some reason