removing unused $name variable