change double to float for saving more disk space