checked with intellij