Added documentation
Added comments for documentation