added correction and setup