more debug statements. problem with photonpfcic struct vector