a part of subpub system be writted,but not finished