working version with JDK 7