added more java docs