added parsing for distribution parameters