Two-part code