incorporate distribution selection functionalities.