using Objects.requireNonNull() instead of "if" statement