move 'mod' methods back into part