intializing the variable that was throwing an exception.