Making the frame pattern