modified ossclient.java