use cx as double vs string