added template :-)