still getting undefined for name