removed <> diamond because intellij doesn't like it at this language
level