change to Java deprecation style