add source file for tag function