Changed layout for ram