new eval that takes in state for varcount test
bug fix for stateupdate, change starts to allstarts
some clean up