changed instance variable to just variable in events controller