[PD] tutorial on struct/template usage?