Added hit percentage
added Javadoc