modular division
fixing merge conflict