now using std::bind for ant callbacks