Removed commented section of code in convertData function for cleanliness