Using a custom distribution