changed epsilon from 0.0 to eps