removed error margin attempts - tests show it doesn't help