removed java 1.6 dependency