log statements to debug