generate float data instead of int