added debug mode for adding comments, temp fix