add console.log(name)

debugging error