Put docstrings inside definitions
fixed documentation/some other small stuff