added mix float and int.