added ai testing interface