change array type over to Float32Array