Modify to receive signal with bigger value than the number of states