adding expose pattern