adding code to run conversions