added Java 8 compatibility section