Changed array names, accounted for small document