use !== instead of !=
add compile-time validation