messing with divmod