You missed the `$newname` parameter.