should this be conditional on  name && *name?