new viriatum functions