Minor changes to getRam()