smart tags, no more code duplication