made precision calculation more understandable