sharing stubs and j3m reorganization