also ami id optionally