Rearranged Pattern input windows