end not a variable, fix syntax