add comment and debug message to facilitate future troubleshooting