some cleanup and a more useful print of the 'complete' var data