conversion finished

- optimized the duplicate entry detection, went from two foreach loops
to one hashtable