handled Div and Mod