Added Main patterns