removed old comments
corrected brackets for linux style