added arg: size, update example.