adding more log statements