Better documentation

Improved the inline documentation