Added finished converter code