simplify by broadcasting to name directly