use java 7 feature