add first distribution function, basic support for uniform distrib