improved reverse for AI