add < and << to previous pattern. so does next pattern