init: removed domod() because it is an external function