migrated to beam-5.0 and Java 7