made compilable with jdk 1.6, changed to previous version