initial puppet code