taglibs to own tag and refactoring