implement puppet anti-pattern