working on pybamview draft