simulating circuits needs fixing.