Changed arrays to shorthand arrays.