Added documentation
Removed comments