added java doc comment