using the signals lib