add proc to the tag class