Renaming parameter to more correct amiId