need to start at 0
various module fixes
also debug pointer methods