Why we use templates,in graphics?