got it working, analysis will ensue