Separating the functions
Separating correction methods into different functions