some formatting and commenting