dividing correctly