use external library, better track length parsing