added division code