utils.h added functions to be implemented