more emitter work, supports up to test file 13