unexported taskhandler struct