Added pulse in and pulse out blocks