added dependence display
modified class

added more tests