adding missing getter and javadoc