updated all arrays to shorthand syntax