name is working now, no longer undefined, forgot to add to callback function