Modified body.java and knowledge.java