action distribution refactoring