forgot to commit ai.cpp