set access modifiers and add javadoc