improve use of AI to pick the replacement of EMpty