- reading / writing arrays, bug fixes all over the place