add type to subscribe block