fix formatting
add comments