add checkArgument(size > 0, "size should be a positive integer")