Split function to call 1 function by signal types.