add better using and use jdk 1.8