Finding digrams