work started on template slicing