I am trying to make this so if the user does not input a value, it sets it to a predefined default. This results in an error saying the variable is undefined. Here is an example