Added id3 function and helpers