Shouldn't this be using the passed in `size` parameter?