make it certain that it is an array of floats and not doubles