Documentation rewrited