pass the tag to a handler function, so far so good