add log statements to most every