Added instructions to handle array indexing