-added more javadoc