Used java7 instructions.