make value private and use getValue()
improve JavaDoc