modified precision from .0000001 to .000001 to avoid known precision problem