try to make simple AI