added most of the small eso correction