ami and size are objects