implement http://stackoverflow.com/questions/4343544/generating-tags-to-different-location-by-pathogen#4346300 again