more documentation for dependency

should need some java code later..