started working on generating switching distributions