LSPIV code integration