lightweight data passing

updated to code to pass the data in a more light weight fashion.