feat/tagfunc: 'tagfunc' now takes two arguments.