Add more log statements