start sketching out the structure of code for result emission generation.