runs on java 6