assigned a variable to the anonymous function