signal can be specified by string or symbol.