using explicit integer division