updated for ramdisk