add usage of floatBuffer