Changed the divide method.