moving pinv to pborepo