added line to create variable before setting it