changing std::_1 to std::placeholders::_1 when passing callback functions