updated simulation explanation
first functioning simulation