Minor modifications
Added documentation