Added doc
Added explanations