Now using generics
Now using generic sram