divide code