zeroth commit, untested, with sim visualization included