adding ai logic that will be ready when antonios part is ready