started adding scipy tpt