public part code