Restarted work with distributin functions