Solution with doc