adding generic split to template