to support JDK 1.6