fleshing out the NES parser