validation needed to run inside IntelliJ