Implemented conditional 2nd order and pulse source