obejct oriented codes and tests for distribution