algorithm correction
raw data