Added new function to libttag