fixed comment and formatting