cleanup whitespace
add docs for groups