added ram and testbench