nothing compiles yet, but barebones of what I need is here.