add more Java doc