patern preview