added methods to test some scenarios, refined precision