adding version for ppig

includes the ala logic, various other changes