principal_agent: adjust templates