added comments for new debug functions