adding result.java