Update utilities.cpp