add seq function for template