Updating Hello World code with Not Conditions checking