Use n instead of size(x)