changed name to @name as accessing without @ is deprecated