made RAM an instance of IODevice.