cosmetics = changed to <-, convertToFieldType function fixed