added the name variable
fixed the conflict