secret and local merged