reading multiple bytes from memory works