Original version.
Added extract sigma.