cannot figure out how to make it work with Java 7 so I did not use <>