templatewriter skeleton