add java 1.7 feature