Added Doc, worked on scala