1.3.4 template and friend