changed integration from 0-1, to 0.1-0.9