Module 2 of NBT; basically finished