added trial distribution model setup