working sample testbench, attempting loop