Adding code to actually perform the conversion, eh