added a pulse signal for testing porposis