added a minimal JavaDoc.