initial additions (very hax) to pull results into a db