started implementing distribution