new viriatum code for building