this line is wrong, the function call would result in nil  if the condition failed