added correction function