Did some work on conversion function
Work