added documentation
fixed whitespace