Add sample, and change argument of winsize.