Pivot reporting framework

stray code