make sure to return everything in FLOAT_ARRAY_TYPE