and here: const int ERR = -1; bool result