added compute.java