memory will now be represented as an array of shorts