dividing code