removed out-commented lines, and reformated a code-block