Add mock and pulse and counter