minor changes to clean up, increased tolerance to 1.5