fix line spacing and update comments