reduce the number of signals