Finished up simulation
It almost works. I give up