modified for python simulation integration