need to default to null if the var is not set