made divide an instance method