tocsetter wrapped
wrapped {query|event} functions