bug arrays updated.