added preliminary sram controller