formatting and comments
silly bug fix