about to try converting to mutable vectors instead of arrays