use signal2 not the deprecated signals