Changed to Java RMI Method