refactored method of increasing precision